-- GENERATED SPELL FOR [Ursangous] --


function spell0_12678(pUnit, Event) --@Knock Away,n/a--
pUnit:FullCastSpellOnTarget(10101,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_12678', 622, 1)
end

function spell1_12678(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13443,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_12678', 15000, 1)
end

function Sorts_12678(pUnit, Event)
local choix_sorts_12678 = math.random(0, 1)
if choix_sorts_12678 == 0 then
pUnit:RegisterEvent('spell0_12678', 1, 1)
end
if choix_sorts_12678 == 1 then
pUnit:RegisterEvent('spell1_12678', 1, 1)
end
end

function mob12678_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_12678', math.random(1500, 3000), 1)
end

function mob12678_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12678_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12678_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(12678, 1, 'mob12678_Action')
RegisterUnitEvent(12678, 2, 'mob12678_Leave')
RegisterUnitEvent(12678, 3, 'mob12678_Kill')
RegisterUnitEvent(12678, 4, 'mob12678_Die')
